<template>
  <div>
    <h1>我的</h1>
    <router-link tag="li" active-class="xixi" to="/my/userinfo"
      >用户信息</router-link
    >
    <router-link tag="li" active-class="xixi" to="/my/login">登录</router-link>
    <router-link tag="li" active-class="xixi" to="/my/clear">clear</router-link>
    <router-view></router-view>
    <hr />
  </div>
</template>
<style>
.xixi {
  color: aqua;
}
</style>
<script>
export default {
  props: ["us"],
  mounted() {
    console.log(this.$route);
  },
};
</script>
